//
//  YQLoginModel.h
//  OverseasImmigration
//
//  Created by yuqin on 2019/5/21.
//  Copyright © 2019年 yuqin. All rights reserved.
//

#import "BaseModel.h"

@interface YQLoginModel : NSObject

@property (nonatomic,copy) NSString *phone;
@property (nonatomic,copy) NSString *code;

@end

@class YQLoginModelManager;
@protocol YQLoginModelManagerDelegate <NSObject>
@optional

//监听
- (void)loginManger:(YQLoginModelManager *)manager isUploadData:(YQLoginModel *)model;

- (void)loginManger:(YQLoginModelManager *)manger isLoginData:(YQLoginModel *)isLoginModel;

- (void)loginManger:(YQLoginModelManager *)manger unloginData:(YQLoginModel *)unLoginModel;

@end

@interface YQLoginModelManager :NSObject

+(instancetype)sharedLoginModel;

- (void)login;
- (void)loginOut;

@end
